<?php
/* @var $this DisplayController */

$this->breadcrumbs=array(
    $modelMenuitem->title,
    $model->title,
);
?>
<?php
$this->menuitemName = $modelMenuitem->title;
$this->menuList = array();
for($i = 0;$i < count($modelMenuitem->allSubmenus);$i++)
{
    $submenuModel = $modelMenuitem->allSubmenus[$i];
    if($submenuModel->status == 0)
    {
        $this->menuList[] = array('label'=>$submenuModel->title, 
            'url'=>strip_tags($submenuModel->content)
        );
    }
    else
    {
        $this->menuList[] = array('label'=>$submenuModel->title, 
            'url'=>'display/view/'.$submenuModel->submenu_id.'/'.$submenuModel->menuitem_id
        );
    }
}
?>
<div class="panel panel-box" style="overflow:hidden;">
    <div class="panel-heading">
        <div class="titleimage">
            <h3 class="panel-title panel-title-font">
                <?php echo CHtml::encode($model->title);?>
            </h3>
        </div>
    </div>
    <div class="panel-body" style="padding:25px">
        <?php echo $model->content;?>
    </div>
</div>
